﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Flexxing</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.2.0/css/ui-light.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.2.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.2.0/js/ui.js"></script>

    <link href="flexxing.css" rel="stylesheet" />
    <script src="flexxing.js"></script>
</head>
<body>
    <div class="flexxing fragment">
        <header aria-label="Header content" role="banner">
            <button data-win-control="WinJS.UI.BackButton"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">Welcome to flexxing</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main">
            <div class="explanation">Children can be told to "flex" (to shrink or grow) according to free space available. The flexxing is relative, so the first item is flexxing to 1/3 and the second item is flexxing to 2/3 of the available space. The third item doesn't flex, so the "available space" is the space remaining after the third item's space is calculated.</div>
            <div id="flexxingFlexbox">
                <div></div>
                <div></div>
                <div></div>
            </div>
        </section>
    </div>
</body>
</html>
